// export default [
//   {
//     path: '/',
//     name: 'Manage',
//     meta: {
//       title: '首页',
//       routeAuth: true
//     },
//     component: resolve => require(['@/components/Index'], resolve),
//       children: [
//           {
//               path: '/404',
//               meta: {
//                   routeAuth: false,
//                   navigation: []
//               },
//               component: resolve => require(['@/views/common/404'], resolve)
//           }
//       ]
//   },
//     {
//         path: '/login',
//         name: 'login',
//         meta: {
//             title: '管理登录中心',
//             routeAuth: false,
//             navigation: []
//         },
//         component: () => import('@/views/login/login')
//     }
// ];
export default [
    {
        path: '/',
        name: 'Manage',
        meta: {
            title: '首页',
            routeAuth: true
        },
        component: resolve => require(['@/components/Index'], resolve),
        children: [
            {
                path: '/404',
                meta: {
                    routeAuth: false,
                    navigation: []
                },
                component: resolve => require(['@/views/login/login'], resolve)
            },
            {
                path: '/market/secKillList',
                name: 'secKillList',
                meta: {
                    title: '服务商城',
                    routeAuth: true,
                    navigation: [
                        {
                            name: '驭路秒杀',
                            path: ''
                        }
                    ]
                },
                component: resolve => require(['@/views/login/login'], resolve)
            },
            {
                path: '/market/marketOrderList',
                name: 'marketOrderList',
                meta: {
                    title: '服务商城',
                    routeAuth: true,
                    navigation: [
                        {
                            name: '订单管理',
                            path: ''
                        }
                    ]
                },
                component: resolve => require(['@/views/login/login'], resolve)
            },
            {
                path: '/market/commodityList',
                name: 'commodityList',
                meta: {
                    title: '服务商城',
                    routeAuth: true,
                    navigation: [
                        {
                            name: '商品管理',
                            path: ''
                        }
                    ]
                },
                component: resolve => require(['@/views/login/login'], resolve)
            },
            {
                path: '/market/virtualList',
                name: 'virtualList',
                meta: {
                    title: '服务商城',
                    routeAuth: true,
                    navigation: [
                        {
                            name: '虚拟卡券管理',
                            path: ''
                        }
                    ]
                },
                component: resolve => require(['@/views/login/login'], resolve)
            },
        ]
    },
    {
        path: '/login',
        name: 'login',
        meta: {
            title: '管理登录中心',
            routeAuth: false,
            navigation: []
        },
        component: () => import('@/views/login/login')
    }
];

